package com.ruoyi.carowner.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 支付分类对象 carowner_payment_category
 *
 * @author ruoyi
 * @date 2024-08-14
 */
public class CarownerPaymentCategory extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 支付类别id
     */
    @Excel(name = "支付类别id")
    private Integer id;

    /**
     * 支付类别名
     */
    @Excel(name = "支付类别名")
    private String name;

    /**
     * 图片
     */
    @Excel(name = "图片")
    private String image;

    /**
     * 0正常，1删除
     */
    private Integer del;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setDel(Integer del) {
        this.del = del;
    }

    public Integer getDel() {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("image", getImage())
                .append("del", getDel())
                .toString();
    }
}
